<%-- 
    Document   : identitas_user
    Created on : Jan 12, 2014, 9:00:50 PM
    Author     : Muhammad Dony
--%>

<%@include file="../header_user.jsp" %>
        <ul class="nav nav-tabs">
            <li><a href="./identitas">Identitas</a></li>
            <li><a href="./pendidikan">Riwayat Pendidikan</a></li>
            <li><a href="./organisasi">Riwayat Organisasi</a></li>
            <li><a href="./panitia">Riwayat Kepanitian</a></li>
            <li><a href="./prestasi">Prestasi</a></li>
            <li><a href="./keahlian">Keahlian</a></li>
        </ul>
<%@page import="data.IdentitasData"%>
<%@page import="java.util.List"%>
<%
    IdentitasData dataIdentitas = (IdentitasData) request.getAttribute("dataIdentitas");
    String action = (String) request.getAttribute("buttonName");
%>     
        <div class="col-lg-10">
            <div class="row">
                <div class="col-lg-3 col-lg-offset-6 well margin-atas">
                    <form class="form-horizontal col-lg-12 text-center" action="identitas" role="form" method="POST" parsley-validate>
                        <div class="form-group">
                            <h2>Identitas Diri</h2>
                            <div class="controls">
                                <input class="form-control" type="text" placeholder="Username" name="ID" parsley-trigger="change" value="<%  out.print(dataIdentitas.getID()); %>" readonly />
                            </div>
                        </div>
                        <div class="form-group">
                            <div class="controls">
                                <input class="form-control" type="text" name="nama1" placeholder="Nama Lengkap" value="<% out.print(dataIdentitas.getNama1());%>">
                            </div>
                        </div>
                        <div class="form-group">
                            <div class="controls">
                                <input class="form-control" type="text" name="nama2" placeholder="Nama Panggilan" value="<% out.print(dataIdentitas.getNama2()); %>">
                            </div>
                        </div>
                        <div class="form-group">
                            <div class="controls">
                                <input class="form-control" type="text" name="tempat" placeholder="Tempat Lahir" value="<%  out.print(dataIdentitas.getTempat()); %>">
                            </div>
                        </div>

                        <div class="form-group">
                            <div class="controls">

                                <input class="form-control" type="text" name="tanggal" placeholder="Tanggal Lahir" value="<%out.print(dataIdentitas.getTanggal());%>">
                                <input class="form-control" type="text" name="bulan" placeholder="Bulan" value="<%out.print(dataIdentitas.getBulan());%> ">
                                <input class="form-control" type="text" name="tahun" placeholder="Tahun" value="<%out.print(dataIdentitas.getTahun());%> ">
                            </div>
                        </div>
                        <div class="form-group">
                            <div class="controls">
                                <input class="form-control" type="textarea" name="alamat" placeholder="Alamat Lengkap" value="<%out.print(dataIdentitas.getAlamat());%>">
                            </div>
                        </div>
                        <div class="form-group">
                            <div class="controls">
                                <input class="form-control" type="text" name="hp" placeholder="Nomor HP" value="<%out.print(dataIdentitas.getHp());%>">
                            </div>
                        </div>                            
                        <div class="form-group">
                            <div class="controls">
                                <input class="form-control" type="email" name="email" placeholder="Email" value="<%out.print(dataIdentitas.getEmail());%>">
                            </div>
                        </div>
                        <div class="form-group">
                            <div class="controls">
                                <input class="form-control" type="text" name="jurusan" placeholder="Jurusan" value="<%out.print(dataIdentitas.getJurusan());%>">
                            </div>
                        </div>
                        <div class="form-group">
                            <div class="controls">
                                <input class="form-control" type="text" name="fakultas" placeholder="Fakultas" value="<%out.print(dataIdentitas.getFakultas());%>">
                            </div>
                        </div>
                        <div class="form-group">
                            <div class="controls">
                                <input class="form-control" type="text" name="universitas" placeholder="Universitas" value="<%out.print(dataIdentitas.getUniversitas());%>">
                            </div>
                        </div>
                        <div class="form-group">
                            <div class="controls">
                                <input class="form-control" type="text" name="tinggi" placeholder="Tinggi Badan" value="<%out.print(dataIdentitas.getTinggi());%>">
                            </div>
                        </div>                           
                        <div class="form-group">
                            <div class="controls">
                                <input class="form-control" type="text" name="berat" placeholder="Berat Badan" value="<%out.print(dataIdentitas.getBerat());%>">
                            </div>
                        </div> 
                        <div class="form-group">
                            <div class="controls">
                                <input class="form-control" type="text" name="darah" placeholder="Golongan Darah" value="<%out.print(dataIdentitas.getDarah());%>">
                            </div>
                        </div> 
                        <div class="form-group">
                            <div class="controls">
                                <input class="form-control" type="textarea" name="motto" placeholder="Motto" value="<%out.print(dataIdentitas.getMotto());%>">
                            </div>
                        </div> 
                        <div class="form-group">
                            <div class="controls">
                                <input type="submit" class="btn btn-primary form-control" name="action" value="<%=action%>" >
                            </div>
                        </div>

                    </form>
                </div>
            </div>
        </div>
<%@include file="../footer_user.jsp" %>
